{template header}
<!--main-->
<div class="midder">
<div class="mc">

<div class="bbox mh400">

<h1>用户登陆</h1>

<div class="cleft">
<div class="bc">
<form method="POST" action="{tsUrl('user','login',array('ts'=>'do'))}">
<table class="commtable">
<tr><th>Email：</th><td><input  type="text" name="email" /></td></tr>
<tr><th>密码：</th><td><input  type="password" name="pwd" /></td></tr>

<tr>
<th>
Cookie有效期</th><td>
<select name="cktime">
		<option value="31536000">一年</option>
		<option value="2592000">一月</option>
		<option value="86400">一天</option>
		<option value="3600">一小时</option>
		<option value="0">即时</option>
	</select>
</td></tr>

<tr><th></th><td>
<input type="hidden" name="jump" value="{$jump}" />
<input type="hidden" name="token" value="{$_SESSION['token']}" />
<button class="btn btn-success btn-large" type="submit">登陆</button> 
 
<a href="{tsUrl('user','register')}">还没有注册？</a> | <a href="{tsUrl('user','forgetpwd')}">忘记密码？</a></td></tr>

</table>
</form>

</div>
</div>

<div class="cright">
<div class="bc">
{php doAction('user_login_footer')}
</div>
</div>

</div>

</div>
</div>
{template footer}